package com.component;

import org.springframework.stereotype.Component;

/**
 * Created by pengfei on 16/7/6.
 */
@Component
public class PersonService {
    private String name="woca";

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public void haha(){
        System.out.println("haha");
    }
}
